]> dgit.raspbian.org Git - gnome-shell.git/commit
layout: Clarify startup animation code
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 27 Nov 2025 22:41:35 +0000 (23:41 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 1 Dec 2025 18:39:44 +0000 (18:39 +0000)
commit455edfdcac1a60a2c117c451e5c76b55b7f06a6f
tree8bc92e641cbbfde321cc81944e53ed458d852cdd
parent6103618b6ff1a1d56ffefc5fdfd494eed062aa0f
layout: Clarify startup animation code

Once the LayoutManager is initialized, we do the startup animation
that consists of 4 steps:

 1. load the system background
 2. prepare the animation
 3. run the animation
 4. complete initialization post-animation

This isn't immediately obvious right now, as the individual steps
are chained in various ways.

It also doesn't help that it's `_loadBackground()` that starts the
chain, as that hardly implies "startup animation".

Clarify that code by adding an async `_doStartupAnimation()` method
that handles all steps in order.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3988>
js/ui/layout.js